package com.example.service;

import com.example.utils.DataChange;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IndexService {

    void request(String appKey, String serverKey, long timeStamp, HttpServletRequest request, HttpServletResponse response);

    void refresh(DataChange dataChange);

    void onMessage(DataChange dataChange);

    void getServer();
}
